<li class="fileBox image" id="fileBox-{$file.id}">
    <a class="delete icon" href="javascript:fileDelete({$file.id},{$file.fileType},'{$item.fieldId|default:global}')"></a>
    <a class="editAlt icon" href="javascript:createDialog('fileAltEditForm','{$item.fieldId|default:global}', {$file.id})"></a>
    <a class="rotate icon" href="javascript:imageRotate({$file.id},{$file.fileType},'{$item.fieldId|default:global}')"></a>
    {if $file.size.b}
        <div class="wraper">
            <a class="lytebox" href="{$file.path}/{$file.name}_b.{$file.ext}" rel="lytebox[{$smarty.post.fieldId|default:'global'}]"><img src="{$file.path}/{$file.name}_s.{$file.ext}" alt="{$file.alt}" /></a>
        </div>
        <span>{$smarty.const.StringFormUploadListItemLabelPictureSmall}: {$file.size.s.0}x{$file.size.s.1}</span><br />
        <span>{$smarty.const.StringFormUploadListItemLabelPictureBig}: {$file.size.b.0}x{$file.size.b.1}</span>
    {else}
        <div class="wraper">
            <img src="{$file.path}/{$file.name}_s.{$file.ext}" alt="{$file.alt}" />
        </div>
        <span>{$smarty.const.StringFormUploadListItemLabelSize}: {$file.size.s.0}x{$file.size.s.1}</span>
    {/if}
</li>